﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using DAL;
using Model;

namespace BLL
{
    /// <summary>
    ///  询价表
    /// </summary>
    public class InquiryBll
    {
        InquiryDal dal = new InquiryDal();

        /// <summary>
        /// 询价添加
        /// </summary>
        /// <param name="Inquiry"></param>
        /// <returns></returns>
        public bool InquiryAdd(EAInquiry Inquiry)
        {
            return dal.InquiryAdd(Inquiry);
        }

        /// <summary>
        /// 询价显示
        /// </summary>
        /// <returns></returns>
        public List<EAInquiry> InquiryList(string pro)
        {
            return dal.InquiryList(pro);
        }
    }
}
